package com.mrx.xfriendship.dao;

import com.mrx.xfriendship.model.dto.PhotoWallDTO;
import com.mrx.xfriendship.model.po.PhotoWallPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Mr.X
 * @since 2023-01-21 10:15:30
 */
@Mapper
public interface PhotoWallMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(PhotoWallPO record);

    int insertSelective(PhotoWallPO record);

    PhotoWallPO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PhotoWallPO record);

    int updateByPrimaryKey(PhotoWallPO record);

    List<PhotoWallDTO> selectByUserId(Integer userId);

}
